package com.sy.core.service;

import com.sy.core.mapper.SyOrderInfoDetailMapper;
import com.sy.core.model.SyOrderInfoDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OrderInfoDetailService {
    @Autowired
    private SyOrderInfoDetailMapper syOrderInfoDetailMapper;

    public Integer insert(SyOrderInfoDetail syOrderInfoDetail) {
        return syOrderInfoDetailMapper.insert(syOrderInfoDetail);
    }

    public List<Map<String, Object>> queryList(SyOrderInfoDetail syOrderInfoDetail) {
        return syOrderInfoDetailMapper.queryList(syOrderInfoDetail);
    }
}
